/******************************************************************************
 * @File name   :      IPurchasePackageService.java
 *
 * @Author      :      JIZHANGS
 *
 * @Date        :      Jul 24, 2015
 *
 * @Copyright Notice: 
 * Copyright (c) 2015 Capgemini, Inc. All  Rights Reserved.
 * This software is published under the terms of the Capgemini Software
 * License version 1.0, a copy of which has been included with this
 * distribution in the LICENSE.txt file.
 * 
 * 
 * ----------------------------------------------------------------------------
 * Date                   Who         Version        Comments
 * Jul 24, 2015 1:13:07 PM        JIZHANGS     1.0            Initial Version
 *****************************************************************************/
package com.cap.bts.crmdp.dealer.mars.service;

import com.cap.bts.crmdp.dealer.purchase.domain.MemberPackageInfo;
import com.cap.bts.crmdp.dealer.purchase.dto.MemberPackageInfoSubmitDto;
import com.cap.bts.framework.common.exception.AppException;
import com.cap.bts.framework.common.service.IBaseService;

/**
 *
 */
public interface IMarsPurchasePackageService extends IBaseService{
    
    /**
     * Mars购买
     * @Date        :      Nov 8, 2015
     * @param dto
     * @throws AppException
     */
    public void purchasePackageMars(MemberPackageInfoSubmitDto dto,boolean callMARSFlag) throws AppException;
    
    /**
     * Mars礼品卡购买
     * @Date        :      Nov 8, 2015
     * @param dto
     * @throws AppException
     */
    public void purchaseGiftPackageMars(MemberPackageInfoSubmitDto dto) throws AppException;

    /**
     * 购买逻辑修改方法
     * @Date        :      2015年11月23日
     * @param memberPackageInfo
     * @param packageDefId
     * @throws AppException
     */
    public void insertRedemForPurchasePackage(MemberPackageInfo memberPackageInfo, Long packageDefId) throws AppException;
    
}
